package com.xyyl.patient.service.user;


import com.xyyl.patient.entity.user.Activity;
import com.xyyl.patient.mapper.user.ActivityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xyyl.patient.entity.user.ActivityUser;


 /**
 * @projectName:xyyl-oms-server
 * @ClassName: Activity
 * @Description:Activity
 * @author chengjun
 * @date 2017-11-22 15:44:00
 */
@Service("activityService")
public class ActivityServiceImpl implements ActivityService {

	@Autowired
	private ActivityMapper activityMapper;

	 @Override
	 public Activity getActivity(Integer id) {

		 return activityMapper.selectOne(id);

	 }
}
